<script src="static/js/login.js" type="text/javascript"></script>

<form method="POST">
	<div class="span-18">
		{include file="intro.tpl"}
	</div>
	<div class="span-6 last">
		{if $invalid_user}
			<div class="error">
				Invalid Login Data!
			</div>
		{/if}
		
			<form method="POST">
				<input type="hidden" name="{$formular->getHashName()}" value="{$formular->getHash()}" />
				<fieldset id="login">
					<legend>Login</legend>
				
					<div>
						<label for="loginname">Username</label><br />
						<input type="text" id="loginname" name="loginname" value="{$formular->getString('loginname')}"/>
					</div>
					
					<div>
						<label for="password">Password: </label><br />
						<input type="password" id="password" name="password" />
					</div>
				
					<div>
						<button type="submit" class="button positive">
							<img src="static/img/tick.png">
							do login
						</button>
						<button type="reset" class="button negative">
							<img src="static/img/cross.png">
							reset
						</button>
					</div> 
					
					<!-- tr>
						Deactivated for now...
						
						TODO reimplement!
						
						<td colspan="2" id="login_additional">
							<a href="?c=lostpassword">Passwort vergessen</a>
						</td>
					</tr -->
				</fieldset>
			</form>
	</div>
</form>